/**
 * Global.h 
 * header file to define the global vars
 * 
 * @author xyyuan
 * @date Mar, 4, 2014
 *
 */
#ifndef BING_GLOBAL_H
#define BING_GLOBAL_H

/**
 * Define some global const
 */
#define MAT_UCHAR_MAX 255
#define CONNECTED_REGION_MAX_COUNT 10
#define FILE_NAME_LENGTH 256

/**
 * Define some const of files
 */
#define FILE_NAME_LENGTH 256
#define IMAGE_SUFFIX_PNG "png"
#define IMAGE_SUFFIX_BMP "bmp"
#define IMAGE_SUFFIX_JPG "jpg"
#define IMAGE_SUFFIX_TXT "txt"

/**
 * Define some dos command
 */
#define DOS_MK_DIR "md"
#define DOS_COMMAND_LENGTH 256

/**
 * Matlab code exe file name
 */
#define MATLAB_CALC_CORR_MSE "calculate_corr.exe"

/**
 * Define some structs
 */
typedef struct {
	int row;
	int col;
	int regionIndex;
}MyPoint;

#endif